package com.qf.dao;

import com.qf.bean.Employee;

import java.util.List;
import java.util.Map;

public interface EmployeeDao {
    Employee login(String username);

    List<Employee> show(Map map);

    int addEmp(Employee employee);

    Employee findNum(String numval);

    Employee findById(Integer id);

    int updateByPrimaryKeySelective(Employee employee);

    int deleteByIds(Map map);

    int deleteById(int id);

    List<Employee> findByIds(int[] empid);

    List<Employee> findByRoleId(Integer roleid);

    List<Employee> findByRoleIds(Integer[] roleids);
}
